cmake_minimum_required(VERSION 3.1)

project(LearnOpenGL_Qt5 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

set(resourcesDir ${CMAKE_CURRENT_SOURCE_DIR}/resources)
set(cameraSrcList
    ${CMAKE_CURRENT_SOURCE_DIR}/include/Camera.h ${CMAKE_CURRENT_SOURCE_DIR}/include/Camera.cc)

add_subdirectory(1_getting_started)
add_subdirectory(2_lighting)


